import CourseName from './courseName.vue'
import CourseNameSearch from './courseNameSearch.vue'
import CourseNameEdit from './courseNameEdit.vue'
import CourseNameAdd from './courseNameAdd.vue'
import CourseNameView from './courseNameView.vue'

const components = [
  CourseName,
  CourseNameSearch,
  CourseNameEdit,
  CourseNameAdd,
  CourseNameView
]

const main = {
  install(Vue) {
    components.map((component) => {
      Vue.component(component.name, component)
    })
  }
}

export default main
